package com.lin.pojo;

import java.io.Serializable;

public class User implements Serializable {
    private Integer uid;
    private String uName;
    private int uAge;
    private String uSex;
    private String uAddress;

    public User(){
    }

    public User(Integer uid, String uName, int uAge, String uSex, String uAddress) {
        this.uid = uid;
        this.uName = uName;
        this.uAge = uAge;
        this.uSex = uSex;
        this.uAddress = uAddress;
    }

    public User(String uName, int uAge, String uSex, String uAddress) {
        this.uName = uName;
        this.uAge = uAge;
        this.uSex = uSex;
        this.uAddress = uAddress;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uName='" + uName + '\'' +
                ", uAge=" + uAge +
                ", uSex='" + uSex + '\'' +
                ", uAddress='" + uAddress + '\'' +
                '}';
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public int getuAge() {
        return uAge;
    }

    public void setuAge(int uAge) {
        this.uAge = uAge;
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    public String getuAddress() {
        return uAddress;
    }

    public void setuAddress(String uAddress) {
        this.uAddress = uAddress;
    }
}
